Skip to content

Conversation

@jaketae
Copy link
Member

@jaketae jaketae commented Oct 8, 2021

Currently, the CI seems to run on every PR. While this is a safe way to ensure that all tests pass, a more sensible rule might be to trigger the pipeline only when material changes are made to the code base, i.e., when a .py file is modified or pushed.

@stas00
Copy link
Contributor

stas00 commented Oct 8, 2021

In general the CI is currently an issue in general since it can't be used for PRs for forks, so it's in a sort of limbo. The plan is to re-do the whole thing in GCP and create a constantly running runner which will be shared with other HF projects with occasional CI needs like accelerate.

In general your proposal is sensible, but it'll miss for example checking if updated requirements break something.

Please feel free to merge, as it's mostly not being run anyway as most users do forked PRs.

@jaketae
Copy link
Member Author

jaketae commented Oct 8, 2021

Sounds good! I'll merge for now and maybe we can revisit this later when things have completely been migrated to GCP. Thanks!

@jaketae jaketae merged commit b416c8d into main Oct 8, 2021
@jaketae jaketae deleted the adjust-ci-run branch October 8, 2021 19:29
adammoody pushed a commit to adammoody/Megatron-DeepSpeed that referenced this pull request Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants